package yartiss.engine.simulation.scheduling.policies.dp;

import yartiss.engine.simulation.IEnergyProfile;
import yartiss.engine.simulation.ISchedulingPolicy;
import yartiss.engine.simulation.events.EventGenerator;
import yartiss.engine.simulation.scheduling.policies.AbstractMonoProcessorSchedulingPolicy;
import yartiss.engine.simulation.system.ITask;
import yartiss.engine.simulation.system.ITaskSet;
import yartiss.engine.simulation.system.taskset.TaskSetFactory;

public class LSASchedulingPolicy extends AbstractMonoProcessorSchedulingPolicy {

	@Override
	public String getPolicyName() {
		return "LSA";
	}

	@Override
	public ITaskSet createTaskSet() {
		return TaskSetFactory.getNewInstance("deadline");
	}

	@Override
	public ITask chooseNextTask(ITaskSet taskSet, IEnergyProfile energyProfile,	long date, EventGenerator evGen) {
		// TODO Auto-generated method stub
		return null;
	}
	
	@Override
	public ISchedulingPolicy newInstance() {
		return new LSASchedulingPolicy();
	}


}
